package com.ll.admin.action;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
//运营管理
@Controller
@RequestMapping("pages/front/operate/*")
public class Operate {
    //文章管理
    @RequiresPermissions("operate:article")
    @RequestMapping("articleList")
    public String articleList() {
        return "front/operate/article_list" ;
    }
    //活动管理
    @RequiresPermissions("operate:activity")
    @RequestMapping("activitiesList")
    public String activitiesList() {
        return "front/operate/activities_list" ;
    }
    //广告管理
    @RequiresPermissions("operate:advert")
    @RequestMapping("adList")
    public String adList() {
        return "front/operate/ad_list" ;
    }
    //评论管理
    @RequiresPermissions("operate:comment")
    @RequestMapping("commentList")
    public String commentList() {
        return "front/operate/comment_list" ;
    }
    //运费管理
    @RequiresPermissions("operate:freight")
    @RequestMapping("freightList")
    public String freightList() {
        return "front/operate/freight_list" ;
    }
    //卡卷管理
    @RequiresPermissions("operate:card")
    @RequestMapping("couponList")
    public String couponList() {
        return "front/operate/coupon_list" ;
    }
    //邀约管理
    @RequiresPermissions("operate:invite")
    @RequestMapping("inviteList")
    public String inviteList() {
        return "front/operate/invite_list" ;
    }
    //清除缓存
    @RequiresPermissions("operate:cache")
    @RequestMapping("cleansession")
    public String cleansession() {
        return "front/operate/cleansession" ;
    }
}
